@import 'antd/es/style/themes/default.less';
.container {
  &::after {
    display: block;
    clear: both;

    content: '';
  }
}
.header {
  position: relative;

  box-sizing: border-box;
  height: 45px;
  margin-bottom: 16px;
  padding: 0 64px;

  &::after {
    position: absolute;
    bottom: 0;
    left: 0;

    width: 100%;
    height: 1px;

    content: '';

    background-color: @border-color-split;
  }
}

.tab-container {
  position: relative;

  overflow: hidden;

  box-sizing: border-box;
  height: 100%;

  &.over {
    padding-right: 32px;
    padding-left: 32px;
  }
}

.tab-btn {
  position: absolute;
  top: 0;

  display: flex;
  align-items: center;
  flex: none;
  justify-content: center;

  width: 32px;
  height: 100%;

  cursor: pointer;
  user-select: none;
  &:hover {
    color: @link-color;
  }
  &.disable {
    cursor: no-drop;
  }
  &.prev {
    left: 0;
  }
  &.next {
    right: 0;
  }
  &.hide {
    overflow: hidden;

    width: 0;
  }
}

.tab-list {
  position: relative;
  z-index: 1;

  display: flex;
  overflow: hidden;
  align-items: stretch;
  flex: auto;
  justify-content: flex-start;

  height: 100%;

  white-space: nowrap;
}

.tab-extra {
  display: flex;
  float: right;
  align-items: center;
  justify-content: center;

  height: 100%;
}

.tabs {
  position: absolute;
  left: 0;
  top: 0;
  transition: .5s all;
}

.no-operate {
  text-align: center;

  color: @text-color-secondary;
}

.content {
  box-sizing: border-box;
  padding: 0 64px;
}

.tab-pane {
  &.hide {
    visibility: hidden;
    overflow: hidden;

    height: 0;
  }
  &::after {
    display: block;
    clear: both;

    content: '';
  }
}
.menu-block {
  max-height: 300px;
  overflow-y: scroll;
  padding-right: 24px;
}
